package com.bangcommunity.bbframe.fdfs.connection;

import com.bangcommunity.bbframe.fdfs.StorageAddress;

import java.io.IOException;

/**
 * @author tanghc
 * @date 18/6/22
 */
public interface TrackerConnection extends FdfsSocketConnection{
    StorageAddress getReadableStorage(String group,String fileId) throws IOException;
    StorageAddress getWritableStorage(String group) throws IOException;
    StorageAddress getUpdatableStorage(String group,String fileId) throws IOException;
}
